import { defineStore } from "pinia";
export const useUserInfoStore = defineStore('user_info',{
    state(){
        return {
            nickname:'',
            uid:0
        }
    },
    actions:{
        increment(){
            setTimeout(()=>{
                this.nickname = 'liuwanshun';
                this.uid = 2115213;
            },500)
        }
    }
})